package gui.filter;


import java.io.File;
import javax.swing.filechooser.FileFilter;

public class FileFilterXmi extends FileFilter {

	public boolean accept(File file) {
		if (file.isDirectory()) { return true; }
		String strFile = file.getName();
		if (strFile.endsWith(".xmi")) {	return true; }
		else { return false; } 
	}

	public String getDescription() { return "*.xmi"; }
}
